﻿<u:UObject x:Class="UTable.Objects.ULayoutCustomizer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:u="clr-namespace:UTable.Objects.Controls;assembly=UTable.Core"
    Height="450" Width="400">
    <u:UGrid>
        <u:UGrid.RowDefinitions>
            <RowDefinition Height="52" />
            <RowDefinition Height="400" />
        </u:UGrid.RowDefinitions>
        <u:UTextBlock Text="Layout Customizer" Foreground="White" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <u:UGrid Grid.Row="1">
            <u:UGrid.RowDefinitions>
                <RowDefinition Height="8*" />
                <RowDefinition Height="25*" />
                <RowDefinition Height="38*" />
                <RowDefinition Height="2*" />
                <RowDefinition Height="48*" />
                <RowDefinition Height="210" />
                <RowDefinition Height="58.972*" />
            </u:UGrid.RowDefinitions>
            <u:UTextBlock Text="Workspace Number: " FontSize="16" Foreground="White" Grid.Row="1" Margin="15,0,0,0" />
            <u:USlider Minimum="0" Maximum="10" Grid.Row="2" Height="38.003" Margin="6.544,2,68,10.001" Grid.RowSpan="2" Width="273.442" x:Name="WNSlider" ValueChanged="WNSlider_ValueChanged" />
            <u:UTextBlock Foreground="White" FontSize="16" Grid.Row="2" Text="0" HorizontalAlignment="Right" Margin="0,6,14,10" Width="40" x:Name="WNText" />
            <Grid Grid.Row="4">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150" />
                    <ColumnDefinition Width="85" />
                    <ColumnDefinition Width="120*" />
                </Grid.ColumnDefinitions>
                <u:UCheckBox Foreground="White" FontSize="16" x:Name="ChairmanCheck" Checked="ChairmanCheck_Checked" Unchecked="ChairmanCheck_Unchecked">Has Chairman</u:UCheckBox>
                <TextBlock Text="Orientation" Grid.Column="1" FontSize="16" Foreground="White" VerticalAlignment="Center" TextAlignment="Right"/>
                <u:UComboBox Foreground="White" FontSize="16" x:Name="OrientationBox" 
                             Grid.Column="2" Margin="2, 5, 5, 5" SelectedIndex="0" SelectionChanged="OrientationBox_SelectionChanged">
                    <TextBlock Text="Left" FontSize="16" Foreground="Black"/>
                    <TextBlock Text="Top" FontSize="16" Foreground="Black"/>
                    <TextBlock Text="Right" FontSize="16" Foreground="Black"/>
                    <TextBlock Text="Bottom" FontSize="16" Foreground="Black"/>
                </u:UComboBox>
            </Grid>
            <u:UCanvas Grid.Row="5" Background="Gray" x:Name="Board" Margin="15,0,15,0" />
            <u:UButton Grid.Row="6" Height="46.972" Width="100" Margin="140,9,108,3" x:Name="OKButton" Pressed="OKButton_Pressed">OK</u:UButton>
            <u:UButton Grid.Row="6" Height="46.972" Width="100" Margin="0,9,7,3" HorizontalAlignment="Right" x:Name="CancelButton" Pressed="CancelButton_Pressed">Cancel</u:UButton>
        </u:UGrid>
    </u:UGrid>
</u:UObject>
